import http from '@/utils/request'

export default {
  // 决赛人员得分导入模板下载
  flExportTemp: () => http.get('/finalsParticipants/exportTemplateDownload'),
  // 决赛人员得分新增
  flParAdd: data => http.postJson('/finalsParticipants/postFinalsParticipantsAdd', data),

  // 决赛人员得分删除
  flParDel: id => http.postJson(`/finalsParticipants/postFinalsParticipantsDel?id=${id}` ),

  // 决赛人员得分编辑
  flParEdit: data => http.postJson('/finalsParticipants/postFinalsParticipantsEdit', data),

  // 决赛人员得分导入
  flParExport: data => http.postJson('/finalsParticipants/postFinalsParticipantsExport', data),

  //
  // 决赛人员得分列表
  flParList: data => http.postJson('/finalsParticipants/postFinalsParticipantsList', data),

  // 批量发布分数
  flRelScore: data => http.postJson('/finalsParticipants/releaseScore', data),

  //   决赛证书下拉列表
  getCertificateList: data => http.get('/finalsParticipants/getCertificateList', data)
}
